package org.example.design.visitor.visitor;

import org.example.design.visitor.user.impl.Student;
import org.example.design.visitor.user.impl.Teacher;

/**
 * @Classname Visitor
 * @Description 访问数据接口
 * @Date 2020/11/12 2:23 下午
 * @Created by xiangjd
 */
public interface Visitor {
    void visist(Student student);

    void visist(Teacher teacher);
}
